From 82b0cef80d78184552d87ca03e4543211a0ef5a5 Mon Sep 17 00:00:00 2001 From: Robert Lipe Date: Wed, 19 Dec 2018 22:19:05 -0600 Subject: [PATCH] Remove write-only variable in compegps. --- compegps.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/compegps.cc b/compegps.cc index f0f8cd2e0..e74a101eb 100644 --- a/compegps.cc +++ b/compegps.cc @@ -79,7 +79,6 @@ static int radius; static int input_datum; static const route_head* curr_track; -static const route_head* curr_route; /* placeholders for options */ @@ -504,7 +503,6 @@ write_waypt_cb(const Waypoint* wpt) static void write_route_hdr_cb(const route_head* rte) { - curr_route = rte; curr_index++; if (curr_index != target_index) { return; -- 2.30.2